<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
</style>
<script type="text/javascript" src="../static/knockout-3.3.0.js">
	
</script>
</head>
<body>
	<a data-bind="attr:{href:url,title:detail}"> baidu.com </a>
</body>
<script type="text/javascript">
	var myViewModel = {
		url : ko.observable("http://www.baidu.com"),
		detail : ko.observable("baidu")
	}
	ko.applyBindings(myViewModel);
</script>
</html>